<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Storage;

class AjaxController extends Controller
{
    public function upload(Request $request)
    {
        return Storage::url($request->file->store('/', 'oss'));
    }
}
